/**
 * @(#)ApkPRIVo.java 2016年11月9日
 * Copyright(C) 2016 ZHEXIN IT CO.,LTD. All rights reserved.
 */
package org.jsbd.boss.domian.channel;

import java.util.Set;

import com.alibaba.fastjson.JSONObject;

/**
 * apk优先级
 * 
 * @author <a href="mailto:xupengcheng@zhexinit.com" >徐鹏程</a>
 * @version 1.0.0
 */
public class ApkPRIConfig extends ChannelApkConfig {

	private static final long serialVersionUID = 5884972117417942458L;

	// 优先级
	private int provinceRate;
	private Integer provinceId;
	private Set<Integer> provinceIds;
	private Integer loginType;
	private Double payMin;
	private Double payMax;
	private Double payRate;
	private String bizId;
	private Integer miguFlag;
	/**
	 * 系统指定版本
	 */
	private String andriodVer;


	/**
	 * 指定机型
	 */
	private String assignDevice;

	public int getProvinceRate() {
		return provinceRate;
	}

	public void setProvinceRate(int provinceRate) {
		this.provinceRate = provinceRate;
	}

	public Integer getProvinceId() {
		return provinceId;
	}

	public void setProvinceId(Integer provinceId) {
		this.provinceId = provinceId;
	}

	public Set<Integer> getProvinceIds() {
		return provinceIds;
	}

	public void setProvinceIds(Set<Integer> provinceIds) {
		this.provinceIds = provinceIds;
	}

	public Integer getLoginType() {
		return loginType;
	}

	public void setLoginType(Integer loginType) {
		this.loginType = loginType;
	}

	public static long getSerialversionuid() {
		return serialVersionUID;
	}

	public Double getPayMin() {
		return payMin;
	}

	public void setPayMin(Double payMin) {
		this.payMin = payMin;
	}

	public Double getPayMax() {
		return payMax;
	}

	public void setPayMax(Double payMax) {
		this.payMax = payMax;
	}

	public Double getPayRate() {
		return payRate;
	}

	public void setPayRate(Double payRate) {
		this.payRate = payRate;
	}

	public String getBizId() {
		return bizId;
	}

	public void setBizId(String bizId) {
		this.bizId = bizId;
	}

	public Integer getMiguFlag() {
		return miguFlag;
	}

	public void setMiguFlag(Integer miguFlag) {
		this.miguFlag = miguFlag;
	}


	@Override
	public String getAndriodVer() {
		return andriodVer;
	}

	@Override
	public void setAndriodVer(String andriodVer) {
		this.andriodVer = andriodVer;
	}


	public String getAssignDevice() {
		return assignDevice;
	}

	public void setAssignDevice(String assignDevice) {
		this.assignDevice = assignDevice;
	}

	public static long getSerialVersionUID() {
		return serialVersionUID;
	}

	@Override
	public String toString() {
		return JSONObject.toJSONString(this);
	}
}
